package cn.besbing.model.entities.primary;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class DbFilesExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public DbFilesExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andDirNumIsNull() {
            addCriterion("DIR_NUM is null");
            return (Criteria) this;
        }

        public Criteria andDirNumIsNotNull() {
            addCriterion("DIR_NUM is not null");
            return (Criteria) this;
        }

        public Criteria andDirNumEqualTo(Long value) {
            addCriterion("DIR_NUM =", value, "dirNum");
            return (Criteria) this;
        }

        public Criteria andDirNumNotEqualTo(Long value) {
            addCriterion("DIR_NUM <>", value, "dirNum");
            return (Criteria) this;
        }

        public Criteria andDirNumGreaterThan(Long value) {
            addCriterion("DIR_NUM >", value, "dirNum");
            return (Criteria) this;
        }

        public Criteria andDirNumGreaterThanOrEqualTo(Long value) {
            addCriterion("DIR_NUM >=", value, "dirNum");
            return (Criteria) this;
        }

        public Criteria andDirNumLessThan(Long value) {
            addCriterion("DIR_NUM <", value, "dirNum");
            return (Criteria) this;
        }

        public Criteria andDirNumLessThanOrEqualTo(Long value) {
            addCriterion("DIR_NUM <=", value, "dirNum");
            return (Criteria) this;
        }

        public Criteria andDirNumIn(List<Long> values) {
            addCriterion("DIR_NUM in", values, "dirNum");
            return (Criteria) this;
        }

        public Criteria andDirNumNotIn(List<Long> values) {
            addCriterion("DIR_NUM not in", values, "dirNum");
            return (Criteria) this;
        }

        public Criteria andDirNumBetween(Long value1, Long value2) {
            addCriterion("DIR_NUM between", value1, value2, "dirNum");
            return (Criteria) this;
        }

        public Criteria andDirNumNotBetween(Long value1, Long value2) {
            addCriterion("DIR_NUM not between", value1, value2, "dirNum");
            return (Criteria) this;
        }

        public Criteria andFileNameIsNull() {
            addCriterion("FILE_NAME is null");
            return (Criteria) this;
        }

        public Criteria andFileNameIsNotNull() {
            addCriterion("FILE_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andFileNameEqualTo(String value) {
            addCriterion("FILE_NAME =", value, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameNotEqualTo(String value) {
            addCriterion("FILE_NAME <>", value, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameGreaterThan(String value) {
            addCriterion("FILE_NAME >", value, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameGreaterThanOrEqualTo(String value) {
            addCriterion("FILE_NAME >=", value, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameLessThan(String value) {
            addCriterion("FILE_NAME <", value, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameLessThanOrEqualTo(String value) {
            addCriterion("FILE_NAME <=", value, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameLike(String value) {
            addCriterion("FILE_NAME like", value, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameNotLike(String value) {
            addCriterion("FILE_NAME not like", value, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameIn(List<String> values) {
            addCriterion("FILE_NAME in", values, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameNotIn(List<String> values) {
            addCriterion("FILE_NAME not in", values, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameBetween(String value1, String value2) {
            addCriterion("FILE_NAME between", value1, value2, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameNotBetween(String value1, String value2) {
            addCriterion("FILE_NAME not between", value1, value2, "fileName");
            return (Criteria) this;
        }

        public Criteria andOriginalPathIsNull() {
            addCriterion("ORIGINAL_PATH is null");
            return (Criteria) this;
        }

        public Criteria andOriginalPathIsNotNull() {
            addCriterion("ORIGINAL_PATH is not null");
            return (Criteria) this;
        }

        public Criteria andOriginalPathEqualTo(String value) {
            addCriterion("ORIGINAL_PATH =", value, "originalPath");
            return (Criteria) this;
        }

        public Criteria andOriginalPathNotEqualTo(String value) {
            addCriterion("ORIGINAL_PATH <>", value, "originalPath");
            return (Criteria) this;
        }

        public Criteria andOriginalPathGreaterThan(String value) {
            addCriterion("ORIGINAL_PATH >", value, "originalPath");
            return (Criteria) this;
        }

        public Criteria andOriginalPathGreaterThanOrEqualTo(String value) {
            addCriterion("ORIGINAL_PATH >=", value, "originalPath");
            return (Criteria) this;
        }

        public Criteria andOriginalPathLessThan(String value) {
            addCriterion("ORIGINAL_PATH <", value, "originalPath");
            return (Criteria) this;
        }

        public Criteria andOriginalPathLessThanOrEqualTo(String value) {
            addCriterion("ORIGINAL_PATH <=", value, "originalPath");
            return (Criteria) this;
        }

        public Criteria andOriginalPathLike(String value) {
            addCriterion("ORIGINAL_PATH like", value, "originalPath");
            return (Criteria) this;
        }

        public Criteria andOriginalPathNotLike(String value) {
            addCriterion("ORIGINAL_PATH not like", value, "originalPath");
            return (Criteria) this;
        }

        public Criteria andOriginalPathIn(List<String> values) {
            addCriterion("ORIGINAL_PATH in", values, "originalPath");
            return (Criteria) this;
        }

        public Criteria andOriginalPathNotIn(List<String> values) {
            addCriterion("ORIGINAL_PATH not in", values, "originalPath");
            return (Criteria) this;
        }

        public Criteria andOriginalPathBetween(String value1, String value2) {
            addCriterion("ORIGINAL_PATH between", value1, value2, "originalPath");
            return (Criteria) this;
        }

        public Criteria andOriginalPathNotBetween(String value1, String value2) {
            addCriterion("ORIGINAL_PATH not between", value1, value2, "originalPath");
            return (Criteria) this;
        }

        public Criteria andOriginalNameIsNull() {
            addCriterion("ORIGINAL_NAME is null");
            return (Criteria) this;
        }

        public Criteria andOriginalNameIsNotNull() {
            addCriterion("ORIGINAL_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andOriginalNameEqualTo(String value) {
            addCriterion("ORIGINAL_NAME =", value, "originalName");
            return (Criteria) this;
        }

        public Criteria andOriginalNameNotEqualTo(String value) {
            addCriterion("ORIGINAL_NAME <>", value, "originalName");
            return (Criteria) this;
        }

        public Criteria andOriginalNameGreaterThan(String value) {
            addCriterion("ORIGINAL_NAME >", value, "originalName");
            return (Criteria) this;
        }

        public Criteria andOriginalNameGreaterThanOrEqualTo(String value) {
            addCriterion("ORIGINAL_NAME >=", value, "originalName");
            return (Criteria) this;
        }

        public Criteria andOriginalNameLessThan(String value) {
            addCriterion("ORIGINAL_NAME <", value, "originalName");
            return (Criteria) this;
        }

        public Criteria andOriginalNameLessThanOrEqualTo(String value) {
            addCriterion("ORIGINAL_NAME <=", value, "originalName");
            return (Criteria) this;
        }

        public Criteria andOriginalNameLike(String value) {
            addCriterion("ORIGINAL_NAME like", value, "originalName");
            return (Criteria) this;
        }

        public Criteria andOriginalNameNotLike(String value) {
            addCriterion("ORIGINAL_NAME not like", value, "originalName");
            return (Criteria) this;
        }

        public Criteria andOriginalNameIn(List<String> values) {
            addCriterion("ORIGINAL_NAME in", values, "originalName");
            return (Criteria) this;
        }

        public Criteria andOriginalNameNotIn(List<String> values) {
            addCriterion("ORIGINAL_NAME not in", values, "originalName");
            return (Criteria) this;
        }

        public Criteria andOriginalNameBetween(String value1, String value2) {
            addCriterion("ORIGINAL_NAME between", value1, value2, "originalName");
            return (Criteria) this;
        }

        public Criteria andOriginalNameNotBetween(String value1, String value2) {
            addCriterion("ORIGINAL_NAME not between", value1, value2, "originalName");
            return (Criteria) this;
        }

        public Criteria andChangedByIsNull() {
            addCriterion("CHANGED_BY is null");
            return (Criteria) this;
        }

        public Criteria andChangedByIsNotNull() {
            addCriterion("CHANGED_BY is not null");
            return (Criteria) this;
        }

        public Criteria andChangedByEqualTo(String value) {
            addCriterion("CHANGED_BY =", value, "changedBy");
            return (Criteria) this;
        }

        public Criteria andChangedByNotEqualTo(String value) {
            addCriterion("CHANGED_BY <>", value, "changedBy");
            return (Criteria) this;
        }

        public Criteria andChangedByGreaterThan(String value) {
            addCriterion("CHANGED_BY >", value, "changedBy");
            return (Criteria) this;
        }

        public Criteria andChangedByGreaterThanOrEqualTo(String value) {
            addCriterion("CHANGED_BY >=", value, "changedBy");
            return (Criteria) this;
        }

        public Criteria andChangedByLessThan(String value) {
            addCriterion("CHANGED_BY <", value, "changedBy");
            return (Criteria) this;
        }

        public Criteria andChangedByLessThanOrEqualTo(String value) {
            addCriterion("CHANGED_BY <=", value, "changedBy");
            return (Criteria) this;
        }

        public Criteria andChangedByLike(String value) {
            addCriterion("CHANGED_BY like", value, "changedBy");
            return (Criteria) this;
        }

        public Criteria andChangedByNotLike(String value) {
            addCriterion("CHANGED_BY not like", value, "changedBy");
            return (Criteria) this;
        }

        public Criteria andChangedByIn(List<String> values) {
            addCriterion("CHANGED_BY in", values, "changedBy");
            return (Criteria) this;
        }

        public Criteria andChangedByNotIn(List<String> values) {
            addCriterion("CHANGED_BY not in", values, "changedBy");
            return (Criteria) this;
        }

        public Criteria andChangedByBetween(String value1, String value2) {
            addCriterion("CHANGED_BY between", value1, value2, "changedBy");
            return (Criteria) this;
        }

        public Criteria andChangedByNotBetween(String value1, String value2) {
            addCriterion("CHANGED_BY not between", value1, value2, "changedBy");
            return (Criteria) this;
        }

        public Criteria andChangedOnIsNull() {
            addCriterion("CHANGED_ON is null");
            return (Criteria) this;
        }

        public Criteria andChangedOnIsNotNull() {
            addCriterion("CHANGED_ON is not null");
            return (Criteria) this;
        }

        public Criteria andChangedOnEqualTo(Date value) {
            addCriterion("CHANGED_ON =", value, "changedOn");
            return (Criteria) this;
        }

        public Criteria andChangedOnNotEqualTo(Date value) {
            addCriterion("CHANGED_ON <>", value, "changedOn");
            return (Criteria) this;
        }

        public Criteria andChangedOnGreaterThan(Date value) {
            addCriterion("CHANGED_ON >", value, "changedOn");
            return (Criteria) this;
        }

        public Criteria andChangedOnGreaterThanOrEqualTo(Date value) {
            addCriterion("CHANGED_ON >=", value, "changedOn");
            return (Criteria) this;
        }

        public Criteria andChangedOnLessThan(Date value) {
            addCriterion("CHANGED_ON <", value, "changedOn");
            return (Criteria) this;
        }

        public Criteria andChangedOnLessThanOrEqualTo(Date value) {
            addCriterion("CHANGED_ON <=", value, "changedOn");
            return (Criteria) this;
        }

        public Criteria andChangedOnIn(List<Date> values) {
            addCriterion("CHANGED_ON in", values, "changedOn");
            return (Criteria) this;
        }

        public Criteria andChangedOnNotIn(List<Date> values) {
            addCriterion("CHANGED_ON not in", values, "changedOn");
            return (Criteria) this;
        }

        public Criteria andChangedOnBetween(Date value1, Date value2) {
            addCriterion("CHANGED_ON between", value1, value2, "changedOn");
            return (Criteria) this;
        }

        public Criteria andChangedOnNotBetween(Date value1, Date value2) {
            addCriterion("CHANGED_ON not between", value1, value2, "changedOn");
            return (Criteria) this;
        }

        public Criteria andLastModifiedIsNull() {
            addCriterion("LAST_MODIFIED is null");
            return (Criteria) this;
        }

        public Criteria andLastModifiedIsNotNull() {
            addCriterion("LAST_MODIFIED is not null");
            return (Criteria) this;
        }

        public Criteria andLastModifiedEqualTo(Date value) {
            addCriterion("LAST_MODIFIED =", value, "lastModified");
            return (Criteria) this;
        }

        public Criteria andLastModifiedNotEqualTo(Date value) {
            addCriterion("LAST_MODIFIED <>", value, "lastModified");
            return (Criteria) this;
        }

        public Criteria andLastModifiedGreaterThan(Date value) {
            addCriterion("LAST_MODIFIED >", value, "lastModified");
            return (Criteria) this;
        }

        public Criteria andLastModifiedGreaterThanOrEqualTo(Date value) {
            addCriterion("LAST_MODIFIED >=", value, "lastModified");
            return (Criteria) this;
        }

        public Criteria andLastModifiedLessThan(Date value) {
            addCriterion("LAST_MODIFIED <", value, "lastModified");
            return (Criteria) this;
        }

        public Criteria andLastModifiedLessThanOrEqualTo(Date value) {
            addCriterion("LAST_MODIFIED <=", value, "lastModified");
            return (Criteria) this;
        }

        public Criteria andLastModifiedIn(List<Date> values) {
            addCriterion("LAST_MODIFIED in", values, "lastModified");
            return (Criteria) this;
        }

        public Criteria andLastModifiedNotIn(List<Date> values) {
            addCriterion("LAST_MODIFIED not in", values, "lastModified");
            return (Criteria) this;
        }

        public Criteria andLastModifiedBetween(Date value1, Date value2) {
            addCriterion("LAST_MODIFIED between", value1, value2, "lastModified");
            return (Criteria) this;
        }

        public Criteria andLastModifiedNotBetween(Date value1, Date value2) {
            addCriterion("LAST_MODIFIED not between", value1, value2, "lastModified");
            return (Criteria) this;
        }

        public Criteria andFileSizeIsNull() {
            addCriterion("FILE_SIZE is null");
            return (Criteria) this;
        }

        public Criteria andFileSizeIsNotNull() {
            addCriterion("FILE_SIZE is not null");
            return (Criteria) this;
        }

        public Criteria andFileSizeEqualTo(Long value) {
            addCriterion("FILE_SIZE =", value, "fileSize");
            return (Criteria) this;
        }

        public Criteria andFileSizeNotEqualTo(Long value) {
            addCriterion("FILE_SIZE <>", value, "fileSize");
            return (Criteria) this;
        }

        public Criteria andFileSizeGreaterThan(Long value) {
            addCriterion("FILE_SIZE >", value, "fileSize");
            return (Criteria) this;
        }

        public Criteria andFileSizeGreaterThanOrEqualTo(Long value) {
            addCriterion("FILE_SIZE >=", value, "fileSize");
            return (Criteria) this;
        }

        public Criteria andFileSizeLessThan(Long value) {
            addCriterion("FILE_SIZE <", value, "fileSize");
            return (Criteria) this;
        }

        public Criteria andFileSizeLessThanOrEqualTo(Long value) {
            addCriterion("FILE_SIZE <=", value, "fileSize");
            return (Criteria) this;
        }

        public Criteria andFileSizeIn(List<Long> values) {
            addCriterion("FILE_SIZE in", values, "fileSize");
            return (Criteria) this;
        }

        public Criteria andFileSizeNotIn(List<Long> values) {
            addCriterion("FILE_SIZE not in", values, "fileSize");
            return (Criteria) this;
        }

        public Criteria andFileSizeBetween(Long value1, Long value2) {
            addCriterion("FILE_SIZE between", value1, value2, "fileSize");
            return (Criteria) this;
        }

        public Criteria andFileSizeNotBetween(Long value1, Long value2) {
            addCriterion("FILE_SIZE not between", value1, value2, "fileSize");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNull() {
            addCriterion("DESCRIPTION is null");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNotNull() {
            addCriterion("DESCRIPTION is not null");
            return (Criteria) this;
        }

        public Criteria andDescriptionEqualTo(String value) {
            addCriterion("DESCRIPTION =", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotEqualTo(String value) {
            addCriterion("DESCRIPTION <>", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThan(String value) {
            addCriterion("DESCRIPTION >", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("DESCRIPTION >=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThan(String value) {
            addCriterion("DESCRIPTION <", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThanOrEqualTo(String value) {
            addCriterion("DESCRIPTION <=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLike(String value) {
            addCriterion("DESCRIPTION like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotLike(String value) {
            addCriterion("DESCRIPTION not like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionIn(List<String> values) {
            addCriterion("DESCRIPTION in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotIn(List<String> values) {
            addCriterion("DESCRIPTION not in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionBetween(String value1, String value2) {
            addCriterion("DESCRIPTION between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotBetween(String value1, String value2) {
            addCriterion("DESCRIPTION not between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andGroupNameIsNull() {
            addCriterion("GROUP_NAME is null");
            return (Criteria) this;
        }

        public Criteria andGroupNameIsNotNull() {
            addCriterion("GROUP_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andGroupNameEqualTo(String value) {
            addCriterion("GROUP_NAME =", value, "groupName");
            return (Criteria) this;
        }

        public Criteria andGroupNameNotEqualTo(String value) {
            addCriterion("GROUP_NAME <>", value, "groupName");
            return (Criteria) this;
        }

        public Criteria andGroupNameGreaterThan(String value) {
            addCriterion("GROUP_NAME >", value, "groupName");
            return (Criteria) this;
        }

        public Criteria andGroupNameGreaterThanOrEqualTo(String value) {
            addCriterion("GROUP_NAME >=", value, "groupName");
            return (Criteria) this;
        }

        public Criteria andGroupNameLessThan(String value) {
            addCriterion("GROUP_NAME <", value, "groupName");
            return (Criteria) this;
        }

        public Criteria andGroupNameLessThanOrEqualTo(String value) {
            addCriterion("GROUP_NAME <=", value, "groupName");
            return (Criteria) this;
        }

        public Criteria andGroupNameLike(String value) {
            addCriterion("GROUP_NAME like", value, "groupName");
            return (Criteria) this;
        }

        public Criteria andGroupNameNotLike(String value) {
            addCriterion("GROUP_NAME not like", value, "groupName");
            return (Criteria) this;
        }

        public Criteria andGroupNameIn(List<String> values) {
            addCriterion("GROUP_NAME in", values, "groupName");
            return (Criteria) this;
        }

        public Criteria andGroupNameNotIn(List<String> values) {
            addCriterion("GROUP_NAME not in", values, "groupName");
            return (Criteria) this;
        }

        public Criteria andGroupNameBetween(String value1, String value2) {
            addCriterion("GROUP_NAME between", value1, value2, "groupName");
            return (Criteria) this;
        }

        public Criteria andGroupNameNotBetween(String value1, String value2) {
            addCriterion("GROUP_NAME not between", value1, value2, "groupName");
            return (Criteria) this;
        }

        public Criteria andComputerNameIsNull() {
            addCriterion("COMPUTER_NAME is null");
            return (Criteria) this;
        }

        public Criteria andComputerNameIsNotNull() {
            addCriterion("COMPUTER_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andComputerNameEqualTo(String value) {
            addCriterion("COMPUTER_NAME =", value, "computerName");
            return (Criteria) this;
        }

        public Criteria andComputerNameNotEqualTo(String value) {
            addCriterion("COMPUTER_NAME <>", value, "computerName");
            return (Criteria) this;
        }

        public Criteria andComputerNameGreaterThan(String value) {
            addCriterion("COMPUTER_NAME >", value, "computerName");
            return (Criteria) this;
        }

        public Criteria andComputerNameGreaterThanOrEqualTo(String value) {
            addCriterion("COMPUTER_NAME >=", value, "computerName");
            return (Criteria) this;
        }

        public Criteria andComputerNameLessThan(String value) {
            addCriterion("COMPUTER_NAME <", value, "computerName");
            return (Criteria) this;
        }

        public Criteria andComputerNameLessThanOrEqualTo(String value) {
            addCriterion("COMPUTER_NAME <=", value, "computerName");
            return (Criteria) this;
        }

        public Criteria andComputerNameLike(String value) {
            addCriterion("COMPUTER_NAME like", value, "computerName");
            return (Criteria) this;
        }

        public Criteria andComputerNameNotLike(String value) {
            addCriterion("COMPUTER_NAME not like", value, "computerName");
            return (Criteria) this;
        }

        public Criteria andComputerNameIn(List<String> values) {
            addCriterion("COMPUTER_NAME in", values, "computerName");
            return (Criteria) this;
        }

        public Criteria andComputerNameNotIn(List<String> values) {
            addCriterion("COMPUTER_NAME not in", values, "computerName");
            return (Criteria) this;
        }

        public Criteria andComputerNameBetween(String value1, String value2) {
            addCriterion("COMPUTER_NAME between", value1, value2, "computerName");
            return (Criteria) this;
        }

        public Criteria andComputerNameNotBetween(String value1, String value2) {
            addCriterion("COMPUTER_NAME not between", value1, value2, "computerName");
            return (Criteria) this;
        }

        public Criteria andHashIsNull() {
            addCriterion("HASH is null");
            return (Criteria) this;
        }

        public Criteria andHashIsNotNull() {
            addCriterion("HASH is not null");
            return (Criteria) this;
        }

        public Criteria andHashEqualTo(String value) {
            addCriterion("HASH =", value, "hash");
            return (Criteria) this;
        }

        public Criteria andHashNotEqualTo(String value) {
            addCriterion("HASH <>", value, "hash");
            return (Criteria) this;
        }

        public Criteria andHashGreaterThan(String value) {
            addCriterion("HASH >", value, "hash");
            return (Criteria) this;
        }

        public Criteria andHashGreaterThanOrEqualTo(String value) {
            addCriterion("HASH >=", value, "hash");
            return (Criteria) this;
        }

        public Criteria andHashLessThan(String value) {
            addCriterion("HASH <", value, "hash");
            return (Criteria) this;
        }

        public Criteria andHashLessThanOrEqualTo(String value) {
            addCriterion("HASH <=", value, "hash");
            return (Criteria) this;
        }

        public Criteria andHashLike(String value) {
            addCriterion("HASH like", value, "hash");
            return (Criteria) this;
        }

        public Criteria andHashNotLike(String value) {
            addCriterion("HASH not like", value, "hash");
            return (Criteria) this;
        }

        public Criteria andHashIn(List<String> values) {
            addCriterion("HASH in", values, "hash");
            return (Criteria) this;
        }

        public Criteria andHashNotIn(List<String> values) {
            addCriterion("HASH not in", values, "hash");
            return (Criteria) this;
        }

        public Criteria andHashBetween(String value1, String value2) {
            addCriterion("HASH between", value1, value2, "hash");
            return (Criteria) this;
        }

        public Criteria andHashNotBetween(String value1, String value2) {
            addCriterion("HASH not between", value1, value2, "hash");
            return (Criteria) this;
        }

        public Criteria andFileLabelIsNull() {
            addCriterion("FILE_LABEL is null");
            return (Criteria) this;
        }

        public Criteria andFileLabelIsNotNull() {
            addCriterion("FILE_LABEL is not null");
            return (Criteria) this;
        }

        public Criteria andFileLabelEqualTo(String value) {
            addCriterion("FILE_LABEL =", value, "fileLabel");
            return (Criteria) this;
        }

        public Criteria andFileLabelNotEqualTo(String value) {
            addCriterion("FILE_LABEL <>", value, "fileLabel");
            return (Criteria) this;
        }

        public Criteria andFileLabelGreaterThan(String value) {
            addCriterion("FILE_LABEL >", value, "fileLabel");
            return (Criteria) this;
        }

        public Criteria andFileLabelGreaterThanOrEqualTo(String value) {
            addCriterion("FILE_LABEL >=", value, "fileLabel");
            return (Criteria) this;
        }

        public Criteria andFileLabelLessThan(String value) {
            addCriterion("FILE_LABEL <", value, "fileLabel");
            return (Criteria) this;
        }

        public Criteria andFileLabelLessThanOrEqualTo(String value) {
            addCriterion("FILE_LABEL <=", value, "fileLabel");
            return (Criteria) this;
        }

        public Criteria andFileLabelLike(String value) {
            addCriterion("FILE_LABEL like", value, "fileLabel");
            return (Criteria) this;
        }

        public Criteria andFileLabelNotLike(String value) {
            addCriterion("FILE_LABEL not like", value, "fileLabel");
            return (Criteria) this;
        }

        public Criteria andFileLabelIn(List<String> values) {
            addCriterion("FILE_LABEL in", values, "fileLabel");
            return (Criteria) this;
        }

        public Criteria andFileLabelNotIn(List<String> values) {
            addCriterion("FILE_LABEL not in", values, "fileLabel");
            return (Criteria) this;
        }

        public Criteria andFileLabelBetween(String value1, String value2) {
            addCriterion("FILE_LABEL between", value1, value2, "fileLabel");
            return (Criteria) this;
        }

        public Criteria andFileLabelNotBetween(String value1, String value2) {
            addCriterion("FILE_LABEL not between", value1, value2, "fileLabel");
            return (Criteria) this;
        }

        public Criteria andInstrumentIsNull() {
            addCriterion("INSTRUMENT is null");
            return (Criteria) this;
        }

        public Criteria andInstrumentIsNotNull() {
            addCriterion("INSTRUMENT is not null");
            return (Criteria) this;
        }

        public Criteria andInstrumentEqualTo(String value) {
            addCriterion("INSTRUMENT =", value, "instrument");
            return (Criteria) this;
        }

        public Criteria andInstrumentNotEqualTo(String value) {
            addCriterion("INSTRUMENT <>", value, "instrument");
            return (Criteria) this;
        }

        public Criteria andInstrumentGreaterThan(String value) {
            addCriterion("INSTRUMENT >", value, "instrument");
            return (Criteria) this;
        }

        public Criteria andInstrumentGreaterThanOrEqualTo(String value) {
            addCriterion("INSTRUMENT >=", value, "instrument");
            return (Criteria) this;
        }

        public Criteria andInstrumentLessThan(String value) {
            addCriterion("INSTRUMENT <", value, "instrument");
            return (Criteria) this;
        }

        public Criteria andInstrumentLessThanOrEqualTo(String value) {
            addCriterion("INSTRUMENT <=", value, "instrument");
            return (Criteria) this;
        }

        public Criteria andInstrumentLike(String value) {
            addCriterion("INSTRUMENT like", value, "instrument");
            return (Criteria) this;
        }

        public Criteria andInstrumentNotLike(String value) {
            addCriterion("INSTRUMENT not like", value, "instrument");
            return (Criteria) this;
        }

        public Criteria andInstrumentIn(List<String> values) {
            addCriterion("INSTRUMENT in", values, "instrument");
            return (Criteria) this;
        }

        public Criteria andInstrumentNotIn(List<String> values) {
            addCriterion("INSTRUMENT not in", values, "instrument");
            return (Criteria) this;
        }

        public Criteria andInstrumentBetween(String value1, String value2) {
            addCriterion("INSTRUMENT between", value1, value2, "instrument");
            return (Criteria) this;
        }

        public Criteria andInstrumentNotBetween(String value1, String value2) {
            addCriterion("INSTRUMENT not between", value1, value2, "instrument");
            return (Criteria) this;
        }

        public Criteria andDisplayedIsNull() {
            addCriterion("DISPLAYED is null");
            return (Criteria) this;
        }

        public Criteria andDisplayedIsNotNull() {
            addCriterion("DISPLAYED is not null");
            return (Criteria) this;
        }

        public Criteria andDisplayedEqualTo(String value) {
            addCriterion("DISPLAYED =", value, "displayed");
            return (Criteria) this;
        }

        public Criteria andDisplayedNotEqualTo(String value) {
            addCriterion("DISPLAYED <>", value, "displayed");
            return (Criteria) this;
        }

        public Criteria andDisplayedGreaterThan(String value) {
            addCriterion("DISPLAYED >", value, "displayed");
            return (Criteria) this;
        }

        public Criteria andDisplayedGreaterThanOrEqualTo(String value) {
            addCriterion("DISPLAYED >=", value, "displayed");
            return (Criteria) this;
        }

        public Criteria andDisplayedLessThan(String value) {
            addCriterion("DISPLAYED <", value, "displayed");
            return (Criteria) this;
        }

        public Criteria andDisplayedLessThanOrEqualTo(String value) {
            addCriterion("DISPLAYED <=", value, "displayed");
            return (Criteria) this;
        }

        public Criteria andDisplayedLike(String value) {
            addCriterion("DISPLAYED like", value, "displayed");
            return (Criteria) this;
        }

        public Criteria andDisplayedNotLike(String value) {
            addCriterion("DISPLAYED not like", value, "displayed");
            return (Criteria) this;
        }

        public Criteria andDisplayedIn(List<String> values) {
            addCriterion("DISPLAYED in", values, "displayed");
            return (Criteria) this;
        }

        public Criteria andDisplayedNotIn(List<String> values) {
            addCriterion("DISPLAYED not in", values, "displayed");
            return (Criteria) this;
        }

        public Criteria andDisplayedBetween(String value1, String value2) {
            addCriterion("DISPLAYED between", value1, value2, "displayed");
            return (Criteria) this;
        }

        public Criteria andDisplayedNotBetween(String value1, String value2) {
            addCriterion("DISPLAYED not between", value1, value2, "displayed");
            return (Criteria) this;
        }

        public Criteria andDocumentVersionIsNull() {
            addCriterion("DOCUMENT_VERSION is null");
            return (Criteria) this;
        }

        public Criteria andDocumentVersionIsNotNull() {
            addCriterion("DOCUMENT_VERSION is not null");
            return (Criteria) this;
        }

        public Criteria andDocumentVersionEqualTo(Long value) {
            addCriterion("DOCUMENT_VERSION =", value, "documentVersion");
            return (Criteria) this;
        }

        public Criteria andDocumentVersionNotEqualTo(Long value) {
            addCriterion("DOCUMENT_VERSION <>", value, "documentVersion");
            return (Criteria) this;
        }

        public Criteria andDocumentVersionGreaterThan(Long value) {
            addCriterion("DOCUMENT_VERSION >", value, "documentVersion");
            return (Criteria) this;
        }

        public Criteria andDocumentVersionGreaterThanOrEqualTo(Long value) {
            addCriterion("DOCUMENT_VERSION >=", value, "documentVersion");
            return (Criteria) this;
        }

        public Criteria andDocumentVersionLessThan(Long value) {
            addCriterion("DOCUMENT_VERSION <", value, "documentVersion");
            return (Criteria) this;
        }

        public Criteria andDocumentVersionLessThanOrEqualTo(Long value) {
            addCriterion("DOCUMENT_VERSION <=", value, "documentVersion");
            return (Criteria) this;
        }

        public Criteria andDocumentVersionIn(List<Long> values) {
            addCriterion("DOCUMENT_VERSION in", values, "documentVersion");
            return (Criteria) this;
        }

        public Criteria andDocumentVersionNotIn(List<Long> values) {
            addCriterion("DOCUMENT_VERSION not in", values, "documentVersion");
            return (Criteria) this;
        }

        public Criteria andDocumentVersionBetween(Long value1, Long value2) {
            addCriterion("DOCUMENT_VERSION between", value1, value2, "documentVersion");
            return (Criteria) this;
        }

        public Criteria andDocumentVersionNotBetween(Long value1, Long value2) {
            addCriterion("DOCUMENT_VERSION not between", value1, value2, "documentVersion");
            return (Criteria) this;
        }

        public Criteria andOriginalFileNameIsNull() {
            addCriterion("ORIGINAL_FILE_NAME is null");
            return (Criteria) this;
        }

        public Criteria andOriginalFileNameIsNotNull() {
            addCriterion("ORIGINAL_FILE_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andOriginalFileNameEqualTo(String value) {
            addCriterion("ORIGINAL_FILE_NAME =", value, "originalFileName");
            return (Criteria) this;
        }

        public Criteria andOriginalFileNameNotEqualTo(String value) {
            addCriterion("ORIGINAL_FILE_NAME <>", value, "originalFileName");
            return (Criteria) this;
        }

        public Criteria andOriginalFileNameGreaterThan(String value) {
            addCriterion("ORIGINAL_FILE_NAME >", value, "originalFileName");
            return (Criteria) this;
        }

        public Criteria andOriginalFileNameGreaterThanOrEqualTo(String value) {
            addCriterion("ORIGINAL_FILE_NAME >=", value, "originalFileName");
            return (Criteria) this;
        }

        public Criteria andOriginalFileNameLessThan(String value) {
            addCriterion("ORIGINAL_FILE_NAME <", value, "originalFileName");
            return (Criteria) this;
        }

        public Criteria andOriginalFileNameLessThanOrEqualTo(String value) {
            addCriterion("ORIGINAL_FILE_NAME <=", value, "originalFileName");
            return (Criteria) this;
        }

        public Criteria andOriginalFileNameLike(String value) {
            addCriterion("ORIGINAL_FILE_NAME like", value, "originalFileName");
            return (Criteria) this;
        }

        public Criteria andOriginalFileNameNotLike(String value) {
            addCriterion("ORIGINAL_FILE_NAME not like", value, "originalFileName");
            return (Criteria) this;
        }

        public Criteria andOriginalFileNameIn(List<String> values) {
            addCriterion("ORIGINAL_FILE_NAME in", values, "originalFileName");
            return (Criteria) this;
        }

        public Criteria andOriginalFileNameNotIn(List<String> values) {
            addCriterion("ORIGINAL_FILE_NAME not in", values, "originalFileName");
            return (Criteria) this;
        }

        public Criteria andOriginalFileNameBetween(String value1, String value2) {
            addCriterion("ORIGINAL_FILE_NAME between", value1, value2, "originalFileName");
            return (Criteria) this;
        }

        public Criteria andOriginalFileNameNotBetween(String value1, String value2) {
            addCriterion("ORIGINAL_FILE_NAME not between", value1, value2, "originalFileName");
            return (Criteria) this;
        }

        public Criteria andParentFileNameIsNull() {
            addCriterion("PARENT_FILE_NAME is null");
            return (Criteria) this;
        }

        public Criteria andParentFileNameIsNotNull() {
            addCriterion("PARENT_FILE_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andParentFileNameEqualTo(String value) {
            addCriterion("PARENT_FILE_NAME =", value, "parentFileName");
            return (Criteria) this;
        }

        public Criteria andParentFileNameNotEqualTo(String value) {
            addCriterion("PARENT_FILE_NAME <>", value, "parentFileName");
            return (Criteria) this;
        }

        public Criteria andParentFileNameGreaterThan(String value) {
            addCriterion("PARENT_FILE_NAME >", value, "parentFileName");
            return (Criteria) this;
        }

        public Criteria andParentFileNameGreaterThanOrEqualTo(String value) {
            addCriterion("PARENT_FILE_NAME >=", value, "parentFileName");
            return (Criteria) this;
        }

        public Criteria andParentFileNameLessThan(String value) {
            addCriterion("PARENT_FILE_NAME <", value, "parentFileName");
            return (Criteria) this;
        }

        public Criteria andParentFileNameLessThanOrEqualTo(String value) {
            addCriterion("PARENT_FILE_NAME <=", value, "parentFileName");
            return (Criteria) this;
        }

        public Criteria andParentFileNameLike(String value) {
            addCriterion("PARENT_FILE_NAME like", value, "parentFileName");
            return (Criteria) this;
        }

        public Criteria andParentFileNameNotLike(String value) {
            addCriterion("PARENT_FILE_NAME not like", value, "parentFileName");
            return (Criteria) this;
        }

        public Criteria andParentFileNameIn(List<String> values) {
            addCriterion("PARENT_FILE_NAME in", values, "parentFileName");
            return (Criteria) this;
        }

        public Criteria andParentFileNameNotIn(List<String> values) {
            addCriterion("PARENT_FILE_NAME not in", values, "parentFileName");
            return (Criteria) this;
        }

        public Criteria andParentFileNameBetween(String value1, String value2) {
            addCriterion("PARENT_FILE_NAME between", value1, value2, "parentFileName");
            return (Criteria) this;
        }

        public Criteria andParentFileNameNotBetween(String value1, String value2) {
            addCriterion("PARENT_FILE_NAME not between", value1, value2, "parentFileName");
            return (Criteria) this;
        }

        public Criteria andRevisionNoIsNull() {
            addCriterion("REVISION_NO is null");
            return (Criteria) this;
        }

        public Criteria andRevisionNoIsNotNull() {
            addCriterion("REVISION_NO is not null");
            return (Criteria) this;
        }

        public Criteria andRevisionNoEqualTo(Long value) {
            addCriterion("REVISION_NO =", value, "revisionNo");
            return (Criteria) this;
        }

        public Criteria andRevisionNoNotEqualTo(Long value) {
            addCriterion("REVISION_NO <>", value, "revisionNo");
            return (Criteria) this;
        }

        public Criteria andRevisionNoGreaterThan(Long value) {
            addCriterion("REVISION_NO >", value, "revisionNo");
            return (Criteria) this;
        }

        public Criteria andRevisionNoGreaterThanOrEqualTo(Long value) {
            addCriterion("REVISION_NO >=", value, "revisionNo");
            return (Criteria) this;
        }

        public Criteria andRevisionNoLessThan(Long value) {
            addCriterion("REVISION_NO <", value, "revisionNo");
            return (Criteria) this;
        }

        public Criteria andRevisionNoLessThanOrEqualTo(Long value) {
            addCriterion("REVISION_NO <=", value, "revisionNo");
            return (Criteria) this;
        }

        public Criteria andRevisionNoIn(List<Long> values) {
            addCriterion("REVISION_NO in", values, "revisionNo");
            return (Criteria) this;
        }

        public Criteria andRevisionNoNotIn(List<Long> values) {
            addCriterion("REVISION_NO not in", values, "revisionNo");
            return (Criteria) this;
        }

        public Criteria andRevisionNoBetween(Long value1, Long value2) {
            addCriterion("REVISION_NO between", value1, value2, "revisionNo");
            return (Criteria) this;
        }

        public Criteria andRevisionNoNotBetween(Long value1, Long value2) {
            addCriterion("REVISION_NO not between", value1, value2, "revisionNo");
            return (Criteria) this;
        }

        public Criteria andPaperSizeIsNull() {
            addCriterion("PAPER_SIZE is null");
            return (Criteria) this;
        }

        public Criteria andPaperSizeIsNotNull() {
            addCriterion("PAPER_SIZE is not null");
            return (Criteria) this;
        }

        public Criteria andPaperSizeEqualTo(String value) {
            addCriterion("PAPER_SIZE =", value, "paperSize");
            return (Criteria) this;
        }

        public Criteria andPaperSizeNotEqualTo(String value) {
            addCriterion("PAPER_SIZE <>", value, "paperSize");
            return (Criteria) this;
        }

        public Criteria andPaperSizeGreaterThan(String value) {
            addCriterion("PAPER_SIZE >", value, "paperSize");
            return (Criteria) this;
        }

        public Criteria andPaperSizeGreaterThanOrEqualTo(String value) {
            addCriterion("PAPER_SIZE >=", value, "paperSize");
            return (Criteria) this;
        }

        public Criteria andPaperSizeLessThan(String value) {
            addCriterion("PAPER_SIZE <", value, "paperSize");
            return (Criteria) this;
        }

        public Criteria andPaperSizeLessThanOrEqualTo(String value) {
            addCriterion("PAPER_SIZE <=", value, "paperSize");
            return (Criteria) this;
        }

        public Criteria andPaperSizeLike(String value) {
            addCriterion("PAPER_SIZE like", value, "paperSize");
            return (Criteria) this;
        }

        public Criteria andPaperSizeNotLike(String value) {
            addCriterion("PAPER_SIZE not like", value, "paperSize");
            return (Criteria) this;
        }

        public Criteria andPaperSizeIn(List<String> values) {
            addCriterion("PAPER_SIZE in", values, "paperSize");
            return (Criteria) this;
        }

        public Criteria andPaperSizeNotIn(List<String> values) {
            addCriterion("PAPER_SIZE not in", values, "paperSize");
            return (Criteria) this;
        }

        public Criteria andPaperSizeBetween(String value1, String value2) {
            addCriterion("PAPER_SIZE between", value1, value2, "paperSize");
            return (Criteria) this;
        }

        public Criteria andPaperSizeNotBetween(String value1, String value2) {
            addCriterion("PAPER_SIZE not between", value1, value2, "paperSize");
            return (Criteria) this;
        }

        public Criteria andPostedIsNull() {
            addCriterion("POSTED is null");
            return (Criteria) this;
        }

        public Criteria andPostedIsNotNull() {
            addCriterion("POSTED is not null");
            return (Criteria) this;
        }

        public Criteria andPostedEqualTo(String value) {
            addCriterion("POSTED =", value, "posted");
            return (Criteria) this;
        }

        public Criteria andPostedNotEqualTo(String value) {
            addCriterion("POSTED <>", value, "posted");
            return (Criteria) this;
        }

        public Criteria andPostedGreaterThan(String value) {
            addCriterion("POSTED >", value, "posted");
            return (Criteria) this;
        }

        public Criteria andPostedGreaterThanOrEqualTo(String value) {
            addCriterion("POSTED >=", value, "posted");
            return (Criteria) this;
        }

        public Criteria andPostedLessThan(String value) {
            addCriterion("POSTED <", value, "posted");
            return (Criteria) this;
        }

        public Criteria andPostedLessThanOrEqualTo(String value) {
            addCriterion("POSTED <=", value, "posted");
            return (Criteria) this;
        }

        public Criteria andPostedLike(String value) {
            addCriterion("POSTED like", value, "posted");
            return (Criteria) this;
        }

        public Criteria andPostedNotLike(String value) {
            addCriterion("POSTED not like", value, "posted");
            return (Criteria) this;
        }

        public Criteria andPostedIn(List<String> values) {
            addCriterion("POSTED in", values, "posted");
            return (Criteria) this;
        }

        public Criteria andPostedNotIn(List<String> values) {
            addCriterion("POSTED not in", values, "posted");
            return (Criteria) this;
        }

        public Criteria andPostedBetween(String value1, String value2) {
            addCriterion("POSTED between", value1, value2, "posted");
            return (Criteria) this;
        }

        public Criteria andPostedNotBetween(String value1, String value2) {
            addCriterion("POSTED not between", value1, value2, "posted");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}